package com.aqgj.shiro;

import org.apache.shiro.authc.UsernamePasswordToken;


public class UsernamePasswordLoginTypeToken extends UsernamePasswordToken {
    private Boolean isPhoneLogin = false;// 默认用户密码登录，true为手机验证码登录
    public UsernamePasswordLoginTypeToken(final String username, final String password, Boolean isPhoneLogin) {
        super(username, password);
        this.isPhoneLogin = isPhoneLogin;
    }

    public Boolean getPhoneLogin() {
        return isPhoneLogin;
    }

    public void setPhoneLogin(Boolean phoneLogin) {
        isPhoneLogin = phoneLogin;
    }
}
